﻿using SqlSugar;
using System;

namespace Ncov2019.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("NCOV_ORDER_RECORD")]
    public partial class NcovOrderRecord
    {
        /// <summary>
        /// Desc:开单序号
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long ORDER_SEQ { get; set; }

        /// <summary>
        /// Desc:检测对象序号
        /// Default:
        /// Nullable:True
        /// </summary>
        public long PAT_SEQ { get; set; }

        /// <summary>
        /// Desc:病历号码
        /// Default:
        /// Nullable:True
        /// </summary>
        public string CHT_ID { get; set; }

        /// <summary>
        /// Desc:开单日期
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? ORD_DT { get; set; }

        /// <summary>
        /// Desc:开单人
        /// Default:
        /// Nullable:True
        /// </summary>
        public string ORD_USR_ID { get; set; }

        /// <summary>
        /// Desc:开单记录序号
        /// Default:
        /// Nullable:True
        /// </summary>
        public long RECORD_SEQ { get; set; }

        /// <summary>
        /// Desc:姓名
        /// Default:
        /// Nullable:True
        /// </summary>
        public string PAT_NM { get; set; }

        /// <summary>
        /// Desc:部门
        /// Default:
        /// Nullable:True
        /// </summary>
        public string DEPARTMENT { get; set; }

        /// <summary>
        /// Desc:开单对应的流水号
        /// Default:
        /// Nullable:True
        /// </summary>
        public string DATESEQ { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string SEX { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public string BIRTHDAY { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string ID_NO { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string TELPHONE { set; get; }

        /// <summary>
        /// 条码号
        /// </summary>
        public string BAR_NO { set; get; }

        /// <summary>
        /// 是否打印
        /// </summary>
        public string PRINT_FLAG { set; get; }

        /// <summary>
        /// 患者类型
        /// </summary>
        public string PAT_TYPE { set; get; }

        public string PAT_TAGS { set; get; }
    }
}